|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ReplyImpl.java | - | 62.5% | 62.5% | 62.5% |
|
1 |
/*
|
|
2 |
* $Id: ReplyImpl.java,v 1.1 2004/12/15 14:18:13 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model.activity.impl;
|
|
10 |
|
|
11 |
import javax.xml.namespace.QName;
|
|
12 |
|
|
13 |
import bexee.core.ProcessController;
|
|
14 |
import bexee.core.ProcessInstance;
|
|
15 |
import bexee.model.BPELElementVisitor;
|
|
16 |
import bexee.model.StandardAttributes;
|
|
17 |
import bexee.model.activity.Reply;
|
|
18 |
import bexee.model.elements.Correlations;
|
|
19 |
import bexee.model.elements.PartnerLink;
|
|
20 |
import bexee.model.elements.Variable;
|
|
21 |
|
|
22 |
/**
|
|
23 |
* Default implementation of the <code>Reply</code> activity.
|
|
24 |
*
|
|
25 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
|
|
26 |
* @author Patric Fornasier
|
|
27 |
* @author Pawel Kowalski
|
|
28 |
*/
|
|
29 |
public class ReplyImpl extends AbstractActivity implements Reply { |
|
30 |
|
|
31 |
private PartnerLink partnerLink = null; |
|
32 |
|
|
33 |
private QName portType = null; |
|
34 |
|
|
35 |
private String operation = null; |
|
36 |
|
|
37 |
private Variable variable = null; |
|
38 |
|
|
39 |
private QName faultName = null; |
|
40 |
|
|
41 |
private Correlations correlations = null; |
|
42 |
|
|
43 |
//**************************************************/
|
|
44 |
// c'tors
|
|
45 |
//**************************************************/
|
|
46 |
|
|
47 | 4 |
public ReplyImpl() {
|
48 | 4 |
this(null); |
49 |
} |
|
50 |
|
|
51 | 20 |
public ReplyImpl(StandardAttributes standardAttributes) {
|
52 | 20 |
super(standardAttributes);
|
53 |
} |
|
54 |
|
|
55 |
//**************************************************/
|
|
56 |
// bexee.model.activity.Reply
|
|
57 |
//**************************************************/
|
|
58 |
|
|
59 | 16 |
public void setPartnerLink(PartnerLink partnerLink) { |
60 | 16 |
this.partnerLink = partnerLink;
|
61 |
} |
|
62 |
|
|
63 | 0 |
public PartnerLink getPartnerLink() {
|
64 | 0 |
return partnerLink;
|
65 |
} |
|
66 |
|
|
67 | 16 |
public void setPortType(QName portType) { |
68 | 16 |
this.portType = portType;
|
69 |
} |
|
70 |
|
|
71 | 0 |
public QName getPortType() {
|
72 | 0 |
return portType;
|
73 |
} |
|
74 |
|
|
75 | 16 |
public void setOperation(String operation) { |
76 | 16 |
this.operation = operation;
|
77 |
} |
|
78 |
|
|
79 | 0 |
public String getOperation() {
|
80 | 0 |
return operation;
|
81 |
} |
|
82 |
|
|
83 | 16 |
public void setVariable(Variable variable) { |
84 | 16 |
this.variable = variable;
|
85 |
} |
|
86 |
|
|
87 | 4 |
public Variable getVariable() {
|
88 | 4 |
return variable;
|
89 |
} |
|
90 |
|
|
91 | 16 |
public void setFaultName(QName faultName) { |
92 | 16 |
this.faultName = faultName;
|
93 |
} |
|
94 |
|
|
95 | 0 |
public QName getFaultName() {
|
96 | 0 |
return faultName;
|
97 |
} |
|
98 |
|
|
99 | 0 |
public void setCorrelations(Correlations correlations) { |
100 | 0 |
this.correlations = correlations;
|
101 |
} |
|
102 |
|
|
103 | 0 |
public Correlations getCorrelations() {
|
104 | 0 |
return correlations;
|
105 |
} |
|
106 |
|
|
107 |
//**************************************************/
|
|
108 |
// bexee.core.BPELElement
|
|
109 |
//**************************************************/
|
|
110 |
|
|
111 | 6 |
public void accept(ProcessController controller, ProcessInstance instance) |
112 |
throws Exception {
|
|
113 | 6 |
controller.process(this, instance);
|
114 |
} |
|
115 |
|
|
116 | 20 |
public void accept(BPELElementVisitor elementVisitor) { |
117 | 20 |
elementVisitor.visit(this);
|
118 |
} |
|
119 |
|
|
120 |
} |
|